﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TemplateUser.Master" AutoEventWireup="true" CodeBehind="news.aspx.cs" Inherits="ProjectSem3.WebForm5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="width:645px; margin:28px 0 0 20px;">
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<ul style="">
<li>
    <h3><a href="#"><asp:Label ID="LabelTitle" runat="server" Text="" style="color:Blue;"><%# Eval("title") %></asp:Label></a></h3></li>
<li>
    <asp:Label ID="LabelContent" runat="server" Text=""><%# Eval("content") %></asp:Label></li>
</ul>
</ItemTemplate>
</asp:Repeater>
</div>
<div style="overflow: hidden; margin-left:350px;">
<asp:Repeater ID="rptPages" runat="server"
onitemcommand="rptPages_ItemCommand1">
<ItemTemplate>
<asp:LinkButton ID="btnPage"
style="padding:1px 3px; margin:1px; background:#ccc; border:solid 1px #666; font:8pt tahoma;"
CommandName="Page" CommandArgument="<%# Container.DataItem %>"
runat="server"><%# Container.DataItem %>
</asp:LinkButton>
</ItemTemplate>
</asp:Repeater>
</div>
</asp:Content>
